using System;
using System.Collections.Generic;
using System.Text;

using System.Data;
using Husb.Data;
using Husb.Util;
using CentralOffice.Admin.Data;
using CentralOffice.Admin.DataAccess;
using AttendDutyTable = CentralOffice.Admin.Data.AttendDataSet.Attend_DutyDataTable;
using AttendDutyRow = CentralOffice.Admin.Data.AttendDataSet.Attend_DutyRow;

using EmployeeTable = CentralOffice.Admin.Data.EmployeeDataSet.EmployeesDataTable;
using EmployeeRow = CentralOffice.Admin.Data.EmployeeDataSet.EmployeesRow;

using AttendConfigTable = CentralOffice.Admin.Data.AttendConfig.Attend_ConfigDataTable;
using AttendConfigRow = CentralOffice.Admin.Data.AttendConfig.Attend_ConfigRow;


namespace CentralOffice.Admin.BusinessActions
{
    public class AttendDuty : DataAccessManager<CentralOffice.Admin.Data.AttendDataSet, AttendDutyTable, AttendDutyRow, AttendDutyAdapter>
    {
        public static int DeleteAttend(string strFir, string strEnd, string strDuty, string strEvection, string strLeave, string strOut)
        {
            AttendDutyAdapter adapter = new AttendDutyAdapter();
            return adapter.DeleteAttend(strFir, strEnd, strDuty, strEvection, strLeave, strOut);
        }

        //public static DataTable GetToDayDuty(Guid empId)
        //{
        //    DataTable dt = new DataTable();

        //    dt.Columns.Add("");

        //    EmployeeRow emp = Employee.GetByIdFromCache(empId);
        //    AttendConfigTable attend = DutyConfig.Find("Name = '" + emp.ShiftType + "'");
        //}
    }
}
